# $Id: PKGBUILD 56401 2011-10-07 09:48:06Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: François Charette <firmicus ατ gmx δοτ net>

pkgname=perl-config-tiny
pkgver=2.14
pkgrel=1
pkgdesc="Read/Write .ini style files with as little code as possible "
arch=('any')
url="http://search.cpan.org/dist/Config-Tiny"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/A/AD/ADAMK/Config-Tiny-$pkgver.tar.gz)
md5sums=('498b8fd37a190a214cddd5506be77720')

build() {
  cd  ${srcdir}/Config-Tiny-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=${pkgdir}
  find ${pkgdir} -name '.packlist' -delete
  find ${pkgdir} -name '*.pod' -delete
}
